package com.shensi.adminCollect.domain.fleet;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.adminCollect.common.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

public class FleetCard {
    private static final long serialVersionUID = 1L;

    public static final Integer FLEET_CARD_USE_TYPE_DRIVER = 1;
    public static final Integer FLEET_CARD_USE_TYPE_THIRD = 2;
    public static final Integer NOT_SET = 0;
    public static final Integer USE_TYPE_SHARE = 1;
    public static final Integer USE_TYPE_ALLOCATION = 2;
    /**
     * id
     */
    private Long id;

    /**
     * 油企id
     */
    @Excel(name = "油企id")
    private Long enterpriseId;

    /**
     * 车队名称
     */
    @Excel(name = "车队名称")
    private String fleetName;

    private String thirdOrganName;

    /**
     * 卡号
     */
    @Excel(name = "卡号")
    private String cardNumber;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contacts;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 油站id集合，“,”分隔
     */
    @Excel(name = "油站id集合，“,”分隔")
    private String stationIds;

    /**
     * 油品id集合，“,”分隔
     */
    @Excel(name = "油品id集合，“,”分隔")
    private String oilIds;

    /**
     * 核销方式：1.司机自动出示核销码 2.第三方核销机构
     */
    @Excel(name = "核销方式：1.司机自动出示核销码 2.第三方核销机构")
    private Integer useType;

    /**
     * 副卡的额度分配方式：0.未设置；1.共享主卡额度 2.手动分配子卡额度
     */
    @Excel(name = "副卡的额度分配方式：0.未设置；1.共享主卡额度 2.手动分配子卡额度")
    private Integer secondaryCardAllocationType;

    /**
     * 充值金额
     */
    @Excel(name = "充值金额")
    private BigDecimal rechargeAmount;

    /**
     * 赠送金额
     */
    @Excel(name = "赠送金额")
    private BigDecimal giftAmount;

    /**
     * 余额
     */
    @Excel(name = "余额")
    private BigDecimal balance;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String createdBy;

    /**
     * 更新人
     */
    @Excel(name = "更新人")
    private String updatedBy;

    /**
     * 删除标志
     */
    @Excel(name = "删除标志")
    private Long del;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setFleetName(String fleetName) {
        this.fleetName = fleetName;
    }

    public String getFleetName() {
        return fleetName;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getContacts() {
        return contacts;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setStationIds(String stationIds) {
        this.stationIds = stationIds;
    }

    public String getStationIds() {
        return stationIds;
    }

    public void setOilIds(String oilIds) {
        this.oilIds = oilIds;
    }

    public String getOilIds() {
        return oilIds;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setSecondaryCardAllocationType(Integer secondaryCardAllocationType) {
        this.secondaryCardAllocationType = secondaryCardAllocationType;
    }

    public Integer getSecondaryCardAllocationType() {
        return secondaryCardAllocationType;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setGiftAmount(BigDecimal giftAmount) {
        this.giftAmount = giftAmount;
    }

    public BigDecimal getGiftAmount() {
        return giftAmount;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setDel(Long del) {
        this.del = del;
    }

    public Long getDel() {
        return del;
    }

    public String getThirdOrganName() {
        return thirdOrganName;
    }

    public void setThirdOrganName(String thirdOrganName) {
        this.thirdOrganName = thirdOrganName;
    }
}
